projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59a1f3a
)
Fix up default csd titlebars
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 16 Dec 2013 18:39:36 +0000
(13:39 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 16 Dec 2013 18:40:54 +0000
(13:40 -0500)
We were forgetting to show close buttons, and the spacing
was wrong, too.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 5c6d0182124d608fbb331d03bd4c62eb76d0cacb..d8ece2fe363ee69bf31d4703c4b059ab0fca16d9 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-5162,9
+5162,9
@@
create_titlebar (GtkWindow *window)
titlebar = gtk_header_bar_new ();
g_object_set (titlebar,
- "spacing", 0,
"title", priv->title ? priv->title : get_default_title (),
"has-subtitle", FALSE,
+ "show-close-button", TRUE,
NULL);
context = gtk_widget_get_style_context (titlebar);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLEBAR);